﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace Travel
{
    class eSeat : INotifyPropertyChanged
    {
        protected string _descriptor;

        public string Descriptor 
        {
            get
            {
                return _descriptor;
            }

            set
            {
                _descriptor = value;
                NotifyPropertyChanged("Descriptor");
            }
        }

        #region INotifyPropertyChanged Members

        private void NotifyPropertyChanged(String info)
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(info));
            }
        }

        public event PropertyChangedEventHandler PropertyChanged;

        #endregion
    }
}
